package com.xzl.xep.service;

import java.io.Serializable;
import java.util.Collection;


public interface BaseService {

	public <T> T  saveObject(T object);
	
	

	public <T> T  saveOrUpdateObject(T object);


	public <T> T  updateObject(T object) ;

	public  <T> void delObject(T object) ;
	
	
	public  <T> T loadObject(Class<T> clazz, Serializable id);
	
	public <T> void saveCollection(Collection<T> collection) ;




}
